fix(windows): when deleting a file use safe long windows path
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 2 Jun 2025 08:57:57 +0000 (10:57 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 2 Jun 2025 11:14:15 +0000 (13:14 +0200)
commit97ddd71343e638dc9cde231252d16ccf61d3c5f5
tree267fef54facd3e5f645457490fe5608adb55da93
parent2fcaf264442524627eb06feb2520541e0e3d6cf3
fix(windows): when deleting a file use safe long windows path

will avoid getting a content access denied error because some paths is
too long for windows default limit and has to use the special syntax for
long path

see https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/common/filesystembase.cpp